package com.ruoyi.houseinfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同和房间的关系对象 house_contarct_houseinfo
 * 
 * @author hct
 * @date 2022-02-16
 */
public class HouseContarctHouseinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 房间id */
    @Excel(name = "房间id")
    private Long houseId;

    /** 合同id */
    @Excel(name = "合同id")
    private Long contarctId;

    /** 公司id */
    @Excel(name = "公司id")
    private Long companyId;

    /** 是否过期0是正常 1是过期 */
    @Excel(name = "是否过期0是正常 1是过期")
    private Integer isover;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }
    public void setContarctId(Long contarctId) 
    {
        this.contarctId = contarctId;
    }

    public Long getContarctId() 
    {
        return contarctId;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setIsover(Integer isover) 
    {
        this.isover = isover;
    }

    public Integer getIsover() 
    {
        return isover;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("houseId", getHouseId())
            .append("contarctId", getContarctId())
            .append("companyId", getCompanyId())
            .append("isover", getIsover())
            .toString();
    }
}
